package com.heima.apis.admin;

import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;

public interface AdSensitiveControllerApi {

    /**
     * 查询敏感词列表
     * @param dto
     * @return
     */
    @ApiOperation(value = "查询敏感词列表")
    public ResponseResult list(SensitiveDto dto);

    /**
     * 新增
     * @param adSensitive
     * @return
     */
    @ApiOperation(value = "新增")
    public ResponseResult insert(AdSensitive adSensitive);

    /**
     * 修改
     * @param adSensitive
     * @return
     */
    @ApiOperation(value = "修改")
    public ResponseResult update(AdSensitive adSensitive);

    /**
     * 删除
     * @param id
     * @return
     */
    @ApiOperation(value = "删除")
    public ResponseResult delete(Integer id);
}